import {request,request2} from '@/utils/http'
// import qs from 'qs'

export function wangNStatistics (params) {
  return request({
    url: '/youxianSpace-system/wnpc_show_screen_all/wangneng_statistics',
    method: 'GET',
    params
  })
}

export function getList (params) {
  return request({
    url: '/youxianSpace-system/wnpc_show_screen_all/sys_department_info/get_list',
    method: 'GET',
    params
  })
}

export function getWarmList (params) {
  return request({
    url: '/youxianSpace-system/wnpc_show_screen_all/alarm_get_by_list',
    method: 'GET',
    params
  })
}
export function login (params) {
  return request2({
    url: '/wangneng/webs/login',
    method: 'POST',
    data:params
  })
}